<template>
  <div>
    <a-card size="small" title="Neditor 富文本编辑器" style="width: 100%">
      <a href="https://tiptap.scrumpy.io/" target="_blank" slot="extra">more</a>
      <a-row :gutter="24">
        <a-col :span="12">
          <Tiptap />
        </a-col>
        <a-col :span="12">
          <a-input type="textarea" v-model="content" />
        </a-col>
      </a-row>
    </a-card>
  </div>
</template>
<script>
import Tiptap from "../components/tiptap";
export default {
  name: "tiptapDemo",
  data() {
    return {
      content: "大家好我是 Hzy"
    };
  },
  components: { Tiptap },
  mounted() {},
  methods: {}
};
</script>